package service;

public abstract class Fruit {

    protected double pricePerJin;

    public Fruit(double pricePerJin) {
        this.pricePerJin = pricePerJin;
    }

    public abstract double calculateTotalPrice(int weight);
}
